// @ts-ignore
import {http} from "@/http/index";

export const getProductList: any = (params: any) => {
    return http.post("/cloudApi/api/product/list", params);
};

export const addProduct: any = (params: any) => {
    return http.post("/cloudApi/api/product/add", params);
};

export const updateProduct: any = (params: any) => {
    return http.post("/cloudApi/api/product/update", params);
};

export const deleteProduct: any = (params: any) => {
    return http.post("/cloudApi/api/product/delete", params);
};
